package main

import (
	"github.com/gin-gonic/gin"
	"zg3zhoukao/api"
	"zg3zhoukao/config"
	"zg3zhoukao/initialize"
)

func main() {
	config.Init()

	initialize.Mysql()

	initialize.Redis()

	r := gin.Default()

	api.LoadRouter(r)

	r.Run(":8888") // 监听并在 0.0.0.0:8888 上启动服务
}
